#-*- coding:utf-8 -*-
#网址：http://www.csup.gov.cn/
#文件名：ChangSha.py
#作者: huanghong
#创建日期: 2017-09-30
#功能描述: 下载长沙市规划图
#完成状况：完成
import time
import threading
import requests
from lxml import etree
import lxml.html
import sys
import codecs,csv
from bs4 import BeautifulSoup
import urllib
import urllib2
import re
import os.path
from datetime import datetime
reload(sys)
sys.setdefaultencoding('utf-8')
se = requests.session()
lock = threading.Lock()
path2 = unicode(sys.path[0]+'\\长沙市信息','utf-8')
upath3=unicode(sys.path[0]+'\\下载信息连接.csv','utf-8')
path1=unicode(sys.path[0]+'\\readme.txt','utf-8')
logg=unicode(sys.path[0]+'\\logs.log','utf-8')
headers={
	'Accept':'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
	'Accept-Encoding':'gzip, deflate',
	'Accept-Language':'zh-CN,zh;q=0.8',
	'Cache-Control':'max-age=0',
	'Connection':'keep-alive',
	'Cookie':'UM_distinctid=15ed0812f96951-01819b9646c8ed-3a3e5f04-13c680-15ed0812f979d7; ASPSESSIONIDCAACDQDD=KDIFLHDBJBDNDPENMCHGGMFG; ASP.NET_SessionId=z0qjcjyxxnxobygs1l15fccg; ASPSESSIONIDSABAARBB=IBEFGPIBECOIHEJAOEIKDFAP; CNZZDATA1259551133=689647832-1506732333-%7C1507532968; _gscu_1596856242=0673668184fw3516; _gscs_1596856242=t07532969ui40b216|pv:1; _gscbrs_1596856242=1; CNZZDATA1000188004=1754160153-1506731510-http%253A%252F%252Fwww.csup.gov.cn%252F%7C1507530960; CNZZDATA436683=cnzz_eid%3D369320289-1506731436-http%253A%252F%252Fwww.csup.gov.cn%252F%26ntime%3D1507532291',
	'Host':'www.csup.gov.cn',
	'Upgrade-Insecure-Requests':'1',
	'User-Agent':'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36'}
#log日志
def loggs(strs):
	with open(logg,'ab') as f:
		time = str(datetime.now())[:-7]
		t = os.linesep
		s = time+' : '+str(strs)
		print s
		f.write(s+t)
hrefs2=[]
Links=list(set(hrefs2))

		
def zong_link():
	url='http://www.csup.gov.cn/csup/Search/Search.aspx?'
	params={
	'QueryString':'%u603b%u56fe'
	}
	i=0
	while True:
		i+=1
		data={
		'__VIEWSTATE':'/wEPDwUKMTY5NTMxOTA1OQ9kFgICAQ9kFgQCBQ8UKwACDxYEHgtfIURhdGFCb3VuZGceC18hSXRlbUNvdW50AhRkZBYCZg9kFigCAQ9kFgJmDxUFATEeZnJtU2hvd1B1YmxpY2l0eS5hc3B4P2lkPTEwNDM2ROS4h+enkemHkeWfn+iTnea5vuS6jOacnzxmb250IGNvbG9yPSJyZWQiPuaAu+WbvjwvZm9udD4g5om55ZCO5YWs5biD5gHkuIfnp5Hph5Hln5/ok53mub7kuozmnJ88Zm9udCBjb2xvcj0icmVkIj7mgLvlm748L2ZvbnQ+IOaJueWQjuWFrOW4g+S4h+enkemHkeWfn+iTnea5vuS6jOacnzxmb250IGNvbG9yPSJyZWQiPuaAu+WbvjwvZm9udD7lhoXlrqHooagNCg0KDQoJIA0KDQoNCgkNCg0KDQoJIA0KDQoNCgk8Zm9udCBjb2xvcj0icmVkIj7mgLs8L2ZvbnQ+5bmz6Z2iPGZvbnQgY29sb3I9InJlZCI+5Zu+PC9mb250PumVv+aymR5mcm1TaG93UHVibGljaXR5LmFzcHg/aWQ9MTA0MzZkAgIPZBYCZg8VBQEyHmZybVNob3dQdWJsaWNpdHkuYXNweD9pZD0xMDI1NEzkuK3miL/nkZ7oh7TlsI/ljLoxI+WcsOWdlzxmb250IGNvbG9yPSJyZWQiPuaAu+WbvjwvZm9udD7lj5jmm7Qg5om55ZCO5YWs5biD7QHkuK3miL/nkZ7oh7TlsI/ljLoxI+WcsOWdlzxmb250IGNvbG9yPSJyZWQiPuaAu+WbvjwvZm9udD7lj5jmm7Qg5om55ZCO5YWs5biD5Lit5oi/55Ge6Ie05bCP5Yy6MSPlnLD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NCAgJkZBgBBQdMdndOZXdzDxQrAA5kZGRkZGRkPCsAFAACFGRkZGYC/////w9kXug//m4eJ1HfDgEsGccShi9aBN92ne9vbA9jsJnR6aU=',
		'aspNetPager':i,
		'__EVENTVALIDATION':'/wEdAAO3kUDdIu9HfYZHhdc/aPwt2plEU/F1fK9MQ1xWaRESki50r1fkEreWc8/qlTpXIQjmnev2kJTi7kB0ce9erKK0TDZ5n6RhsKlaSX1ukpl6kQ==',
		'TextBoxSearch':'总图'
		}
		req=se.post(url,headers=headers,params=params,data=data).content.decode('utf-8','ignore')
		
		href=re.findall('href="..(/frmShowPublicity.aspx\?id=\d+|/frmShowNews.aspx\?id=\d+&typeId=\(\d+\))"',req)
		for link in href:
			hrefs2.append('http://www.csup.gov.cn/csup'+link)
		print i
		if len(href)==0:
			break
		
def guihua_link():
	url='http://www.csup.gov.cn/csup/Search/Search.aspx?'
	params={
	'QueryString':'%u603b%u56fe'
	}
	i=0
	while True:
		i+=1
		data={
		'__VIEWSTATE':'/wEPDwUKMTY5NTMxOTA1OQ9kFgICAQ9kFgQCBQ8UKwACDxYEHgtfIURhdGFCb3VuZGceC18hSXRlbUNvdW50AhRkZBYCZg9kFigCAQ9kFgJmDxUFATEeZnJtU2hvd1B1YmxpY2l0eS5hc3B4P2lkPTEwNDk1U+W3peWkp+OAgeW4iOWkp+WNl+mZoueJh+aOp+WItuaAp+ivpue7hjxmb250IGNvbG9yPSJyZWQiPuinhOWIkjwvZm9udD4g5om55ZCO5YWs5biDygLlt6XlpKfjgIHluIjlpKfljZfpmaLniYfmjqfliLbmgKfor6bnu4Y8Zm9udCBjb2xvcj0icmVkIj7op4TliJI8L2ZvbnQ+IOaJueWQjuWFrOW4g+S4reWNl+Wkp+WtpuenkeaKgOWbre+8iOeglOWPke+8ieaAu+mDqA0KDQoNCgkgDQoNCg0KCQ0KDQoNCgkgDQoNCg0KCTxmb250IGNvbG9yPSJyZWQiPuinhOWIkjwvZm9udD7kv67mlLnliY08Zm9udCBj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1fkEreWc8/qlTpXIQhAwCkJibOjuogf8l/RQPgYBBb6Emm+6RaUMaNrM2EmhQ==',
		'TextBoxSearch':'规划图'
		}
		req=se.post(url,headers=headers,params=params,data=data).content.decode('utf-8','ignore')		
		href=re.findall('href="..(/frmShowPublicity.aspx\?id=\d+|/frmShowNews.aspx\?id=\d+&typeId=\(\d+\))"',req)
		for link in href:
			hrefs2.append('http://www.csup.gov.cn/csup'+link)
			print link
		print i
		if len(href)==0:
			break	

		
def pingmian_link():
	url='http://www.csup.gov.cn/csup/Search/Search.aspx?'
	params={
	'QueryString':'%u603b%u56fe'
	}
	i=0
	while True:
		i+=1
		data={
		'__VIEWSTATE':'/wEPDwUKMTY5NTMxOTA1OQ9kFgICAQ9kFgQCBQ8UKwACDxYEHgtfIURhdGFCb3VuZGceC18hSXRlbUNvdW50AhRkZBYCZg9kFigCAQ9kFgJmDxUFATEeZnJtU2hvd1B1YmxpY2l0eS5hc3B4P2lkPTEwMjU5PeOAkOa5mOaxn+aWsOWMuuOAkemHkem6k+ilv+WyuOWwj+WMujItMeagi+mhueebriDmibnliY3lhaznpLrtBAoJ5oC7PGZvbnQgY29sb3I9InJlZCI+5bmz6Z2i5Zu+PC9mb250PiANCg0KDQoJIA0KDQoNCgkgDQoNCg0KCSANCg0KDQoJ5LiA5bGCPGZvbnQgY29sb3I9InJlZCI+5bmz6Z2i5Zu+PC9mb250PiANCg0KDQoJIA0KDQoNCgkgDQoNCg0KCSANCg0KDQoJ5paw5LiA5bGCPGZvbnQgY29sb3I9InJlZCI+5bmz6Z2i5Zu+PC9mb250PiANCg0KDQoJIA0KDQoNCgkgDQoNCg0KCSANCg0KDQoJ5LqM5bGCPGZvbnQgY29sb3I9InJlZCI+5bmz6Z2i5Zu+PC9mb250PiANCg0KDQoJIA0KDQoNCgkgDQoNCg0KCSANCg0KDQoJ5paw5LqM5bGCPGZvbnQgY29sb3I9InJlZCI+5bmz6Z2i5Zu+PC9mb250PiANCg0KDQoJIA0KDQoNCgk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z2i5Zu+PC9mb250PumVv+aymR5mcm1TaG93UHVibGljaXR5LmFzcHg/aWQ9MTA3NjlkAgcPDxYIHgdDdXJQYWdlAgEeCENzc0NsYXNzBQxhbGlnbi1jZW50ZXIeC1JlY29yZENvdW50ApUKHgRfIVNCAgJkZBgBBQdMdndOZXdzDxQrAA5kZGRkZGRkPCsAFAACFGRkZGYC/////w9kSg6FHWK4QwKkPeCYKstwUGrVwLnSgm/pAch5V2dd4ME=',
		'aspNetPager':i,
		'__EVENTVALIDATION':'/wEdAAPVMu9cho6RC1aoqcdPbxaT2plEU/F1fK9MQ1xWaRESki50r1fkEreWc8/qlTpXIQhnLRE8jrfJz4zMm5H/tvwMyZabgJ8duN36/XHD8YXI1w==',
		'TextBoxSearch':'平面图'
		}
		req=se.post(url,headers=headers,params=params,data=data).content.decode('utf-8','ignore')
		
		href=re.findall('href="..(/frmShowPublicity.aspx\?id=\d+|/frmShowNews.aspx\?id=\d+&typeId=\(\d+\))"',req)
		for link in href:
			hrefs2.append('http://www.csup.gov.cn/csup'+link)
			print link
		print i
		if len(href)==0:
			break		
			
def get_data():
	while True:
		lock.acquire()
		if len(hrefs2)==0:
			lock.release()
			break
		else:
			url=hrefs2.pop(0)
			lock.release()
			# url='http://www.csup.gov.cn/csup/frmShowPublicity.aspx?id=10637'
			print url
			req=se.get(url,headers=headers).content
			soup=BeautifulSoup(req,'lxml')
			a=soup.find_all('a',class_="ke-insertfile")
			name1=soup.find_all('div',class_='td2')
			if len(name1)==0:
				pass
			else:
				name2=name1[0].text.replace('\n','').replace('\r','').replace(u' ','')
				print len(a)
				if len(a)==0:
					name=soup.find_all('img',width="900")
					nub=0
					for link1 in name:
						nub+=1
						link2=link1.get('src').replace('http://www.csup.gov.cn','').replace('/asp.net/..','')
						link3='http://www.csup.gov.cn'+link2
						meme=name2+str(nub)
						print link3,meme
						try:
							urllib.urlretrieve(link3, path2+"\\"+"%s.jpg"%(meme))
						except Exception as e:
							pass						
						#保存记录
						with codecs.open(upath3,'ab') as f:
							w = csv.writer(f)		
							w.writerow([url,meme+'.jpg',link3])
				else:
					nub=0
					for i in a:
						nub+=1
						link=i.get('href').replace('http://www.csup.gov.cn','')
						key = re.findall(r'\d+.([a-z]{3})',link)[0]
						meme=name2+str(nub)
						links='http://www.csup.gov.cn'+link
						print links,key,meme
						urllib.urlretrieve(links, path2+"\\"+"%s.%s"%(meme,key))
						#保存记录
						with codecs.open(upath3,'ab') as f:
							w = csv.writer(f)		
							w.writerow([url,meme+'.'+key,links])	
def main():
		if not os.path.isdir(path2):
			os.makedirs(path2)
		else:
			print path2+'目录已存在'
		with codecs.open(upath3, 'wb') as f:
			w = csv.writer(f)
			w.writerow([u'网页地址',u'文件名',u'下载链接'])	
		zong_link()
		guihua_link()
		pingmian_link()
		tasks = [] #任务列表
		for x in range(5):
			t = threading.Thread(target=get_data) #准备线程函数及参数
			t.setDaemon(True) #设置守护线程（主线程退出，子线程也会退出，不会挂起占用资源）
			tasks.append(t)
		for t in tasks:
			t.start() #启动多线程（任务列表有多少个值，就会启动多少个线程）
		for t in tasks:
			t.join()
		
			


def read_line():
	ap=[]
	with codecs.open (upath3,'r') as f:
		a=f.readlines()
		for  i in a:
			i=i.split(',')
			ap.append(i[0])
	return ap
def get_data2(url):
	print url
	req=se.get(url,headers=headers).content
	soup=BeautifulSoup(req,'lxml')
	a=soup.find_all('a',class_="ke-insertfile")
	name1=soup.find_all('div',class_='td2')
	if len(name1)==0:
		pass
	else:
		name2=name1[0].text.replace('\n','').replace('\r','').replace(u' ','')
		print len(a)
		if len(a)==0:
			name=soup.find_all('img',width="900")
			if len(name)==0:
				name=soup.find_all('img',width="900px")
			nub=0
			for link1 in name:
				nub+=1
				link2=link1.get('src').replace('http://www.csup.gov.cn','').replace('/asp.net/..','')
				link3='http://www.csup.gov.cn'+link2
				meme=name2+str(nub)
				print link3,meme
				try:
					urllib.urlretrieve(link3, path2+"\\"+"%s.jpg"%(meme))
				except Exception as e:
					pass						
						#保存记录
				with codecs.open(upath3,'ab') as f:
					w = csv.writer(f)		
					w.writerow([url,meme+'.jpg',link3])
		else:
			nub=0
			for i in a:
				nub+=1
				link=i.get('href').replace('http://www.csup.gov.cn','')
				key = re.findall(r'\d+.([a-z]{3})',link)[0]
				meme=name2+str(nub)
				links='http://www.csup.gov.cn'+link
				print links,key,meme
				try:
					urllib.urlretrieve(links, path2+"\\"+"%s.%s"%(meme,key))
				except Exception as e:
					pass
				#保存记录
				with codecs.open(upath3,'ab') as f:
					w = csv.writer(f)		
					w.writerow([url,meme+'.'+key,links])				
def gengxin():
	zong_link()
	guihua_link()
	pingmian_link()
	hrefs=read_line()
	for i in Links:
		if i not in hrefs:
			get_data2(i)
#判段更新还是存入
def main2():
	with codecs.open (path1,'r') as f:
		a=f.readlines()
		key2 = re.findall(r'(\d)',a[0])
		if key2[0]=='0':
			#判段更新还是存入
			filename=upath3
			if os.path.exists(filename):
				print u'更新数据'
				gengxin()#调用更新函数
			else:
				main()#调用存入函数	
		else:
			gengxin()
		loggs(u'完成')


if __name__ == '__main__':
	try:
		main2()
	except Exception as e:
		loggs(e)
	